[paket]
tanim   = Geçici olmayan hafıza aygıtları(libnvdimm) yönetim araç ve kütüphanesi
paketci = milisarge
grup    = kütüphane
url     = https://github.com/pmem/ndctl

[gerek]
derleme = chrpath meson eudev json-c keyutils
calisma =

[kaynak]
1       = https://github.com/pmem/ndctl/archive/v$surum/$isim-$surum-1.tar.gz
2       = https://github.com/ndevilla/iniparser/archive/v4.1/iniparser-4.1.tar.gz

[sha256]
1       = 6ba54374b6182a211ee4115d83d1822422536c49f1a5234bac46c23c175f40b8

[derle]
betik   = cd $SRC/iniparser-4.1
betik   = make
betik   = install -Dm0644 src/iniparser.h $PKG/usr/include/iniparser.h
betik   = install -Dm0644 src/dictionary.h $PKG/usr/include/dictionary.h
betik   = install -Dm0644 libiniparser.so.1 $PKG/usr/lib/libiniparser.so.1
betik   = ln -sf libiniparser.so.1 $PKG/usr/lib/libiniparser.so
betik   = chrpath -d $PKG/usr/lib/libiniparser.so
betik   = cd $SRC/$isim-$surum
betik   = sed -i "s|^modprobedatadir =.*|modprobedatadir = '/usr/lib/modprobe.d/'|" contrib/meson.build
betik   = export LIBRARY_PATH=$LIBRARY_PATH:$PKG/usr/lib
ekconf  = -D asciidoctor=disabled -D docs=disabled -D systemd=disabled -D libtracefs=disabled -Diniparserdir=$PKG/usr/include
tip     = meson

[pakur]
betik   = export LIBRARY_PATH=$LIBRARY_PATH:$PKG/usr/lib
tip     = meson
